import React from 'react'
import { useNavigate } from 'react-router-dom'
import { NavBar } from 'antd-mobile'
const Index = () => {
    const nav=useNavigate()
    return (
        <div>
            <div>
                <NavBar back='返回' onBack={()=>nav(-1)}>
                    订单
                </NavBar>
            </div>
            <div>
                这里是订单页面
            </div>
        </div>
    )
}

export default Index
